<%@ page contentType="text/html; charset=iso-8859-1" language="java"%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Successfully Login by JSP</title>
</head>
<body>
<div>
Welcome,
<%
out.print(session.getAttribute("username"));
System.out.println("in success");
//out.print("Password :"+session.getAttribute("pw"));
%>
<form method="post" action="doLogout.jsp">   
     <input type="submit" name="logout" value="Log out"/>
</form> 
</div>
<div>
<iframe name = "roommate_form" height="600px" width="880px" frameborder="0" src="http://localhost:8080/HomeFinders/roommate_form.jsp" scrolling="no"></iframe>
</div>
</body>
</html>